package com.hksj.Intelligentmanagement.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Author zengke
 * @ClassName GatewayAuthEntity
 * @Date 2023/3/24 15:28
 * @Version 1.0
 * @Description TODO
 */

/**
 * mqtt_gateway_auth
 * 网关与mqtt认证参数关系表
 */
@Data
@ApiModel
@EqualsAndHashCode(callSuper = true)
@TableName("mqtt_gateway_auth")
public class GatewayAuthEntity extends BaseEntity {

    //网关记录id
    @ApiModelProperty("网关记录id")
    private String mqttGatewayId;

    //mqtt认证参数记录id
    @ApiModelProperty("mqtt认证参数记录id")
    private String mqttAuthId;

    //逻辑删除
    @ApiModelProperty("逻辑删除")
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Integer delFlag;
}
